package wei.xinya.core.inheritance;

public class Dog extends Animal{

	@Override
	public void move() {
		System.out.println("狗可以跑");
		super.move();
	}
	public void bark() {
		System.out.println("狗可以叫");
	}
	@Override
	public void test(String name){
		System.out.println("dog name: " + name);
	}

}
